The Variational Method In Quantum Mechanics